package com.chance.cc.crawler.prod.command.schedule.news.jiemian.car;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.jiemian.car.JieMianCarArticleRealtimeCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

public class JieMianArticleCrawlerJobSchedule extends CommonCrawlerJobSchedule {
    public static void main(String[] args) {
        //delCrawlerScheduleJob(JieMianCarArticleRealtimeCrawlerScheduleJob.crawlerScheduler());
        publicCrawlerScheduleJob(JieMianCarArticleRealtimeCrawlerScheduleJob.crawlerScheduler());
    }

    private static void publicCrawlerScheduleJob(CrawlerJob crawlerScheduler) {
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerScheduler.generateCrawlerTriggerKey(),device_name_3);
    }
    public static void delCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.deleteCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);
    }
}
